package cn.wolfcode.luowowo.serach.query;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by admin on 2019/8/22.
 */
@Setter
@Getter
public class DestThemeSearchCondition {

    public static final Map<Integer, DestThemeSearchCondition> DestThrmr_DAYS = new HashMap<>();  //旅游天数集合

    static {
        DestThrmr_DAYS.put(-1, new DestThemeSearchCondition(1, Integer.MAX_VALUE));
        DestThrmr_DAYS.put(1, new DestThemeSearchCondition(2, 3));
        DestThrmr_DAYS.put(2, new DestThemeSearchCondition(4, 5));
        DestThrmr_DAYS.put(3, new DestThemeSearchCondition(6, 9));
        DestThrmr_DAYS.put(4, new DestThemeSearchCondition(10, Integer.MAX_VALUE));
    }

    private int min;  //最小值
    private int max;  //最大值

    public DestThemeSearchCondition(int min, int max){
        this.min  = min;
        this.max  = max;
    }
}

